package com.jbm.jsm.iface.enums;

/**

 * 任务状态
 */
public enum TaskStatus {
    enroll("放单中",1), //
    cancel("任务取消",2), //
    revoke("任务撤销",3), //
    underway("进行中",4), //
    over("已完成",5) ;


    private String name ;
    private int index ;

    private TaskStatus(String name, int index){
        this.name = name ;
        this.index = index ;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }
}